﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using GongXianDCUI.Models;
using GongXianDCUI.DAL;

namespace GongXianDCUI.BLL
{
    public class LayoutArticleBLL
    {
        LayoutArticleDAL DAL = new LayoutArticleDAL();

        /// <summary>
        /// 获取布局数据
        /// </summary>
        /// <returns></returns>
        public List<LayoutArticle> GetLayoutArticle()
        {
            return DAL.GetLayoutArticle();
        }

        /// <summary>
        /// 获取电子公告默认菜单id为1000， 。
        /// </summary>
        /// <param name="funcitonID"></param>
        /// <returns></returns>
        public List<Article> getBulletin(int funcitonID)
        {
            return DAL.getBulletin(funcitonID);
        }

    }
}
